package com.springcloud.redis.jhs.entities;

import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * @author liyanhao
 * @Date 2022-11-24 21:45
 */
@Data
@ApiModel(value = "聚划算活动product信息")
public class Product {
    private Long id;

    private String name;

    private Integer price;

    private String detail;

    public Product() {
    }

    public Product(Long id, String name, Integer price, String detail) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.detail = detail;
    }
}
